body{
    background: white;
}
.top-nav {
    width: 100%;
    height: 30px;
    background: #f2f2f2;
    border-bottom: 1px solid #777;
}
.top-nav .row {
    width: 1200px;
    height: 30px;
    margin: 0 auto;

}
.top-nav .row li {
    height: 30px;
    line-height: 30px;
    padding-right: 10px;
    cursor: pointer;
}

.top-nav .row li:hover {
    color: #ff7000;
}

.top-nav .row li.space {
    flex-grow: 1;
}

.main {
    width: 1200px;
    margin: auto;
    background: #fff;
}

.top-search {
    display: flex;
    width: 100%;

    height: 120px;
}

.top-search img {
    width: 150px;
    height: 60px;
    margin-top: 29px;
    margin-left: 17px;
}

.serch-box {
    max-width: 580px;
    flex-grow: 1;
    margin-top: 45px;
    border: 2px solid #5f8b2f;
    height: 32px;
    margin-left: 120px;
    margin-right: 40px;
    overflow: hidden;
    display: flex;
}

.serch-box input {
    border: 0;
    height: 32px;
    font-size: 16px;
    margin: 0;
    /* 清楚input输入状态边框 */
    outline: none;
    flex-grow: 1;
    padding-left: 32px;
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
    background-position: 8px -342px;
}

.serch-box span {
    width: 120px;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    background-color: #5f8b2f;
}

.cart-box {
    width: 200px;
    height: 36px;
    display: flex;
    margin-top: 45px;
}

.cart-box .cart-text {
    width: 162px;
    height: 34px;
    line-height: 34px;
    border: 1px solid #f2f2f2;
    font-size: 16px;
    font-weight: bold;
    color: #5f8b2f;
    text-align: center;
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
    background-position: 8px -301px;
}

.cart-box .cart-num {
    background-color: #ff7000;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.cate-titbox {
    width: 100%;
    height: 40px;
    border-bottom: 2px solid #5f8b2f;
}

.cate-titbox .cate {
    display: flex;
    width: 1200px;
    margin: 0 auto;
    height: 40px;
}

.cate-titbox .cate h2 {
    padding: 0;
    margin: 0;
    width: 200px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: #5f8b2f;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.cate-titbox .cate li {
    line-height: 40px;
    margin: 0 10px;
    cursor: pointer;
}

.cate-titbox .cate li:hover {
    color: #ff7000;
}

div.nav{
    width: 1200px;
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
}
div.nav span{
    color: #5f8b2f;
    cursor: pointer;
}
div.nav i{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    margin-right: 5px;
}
.detail{
    width: 1198px;
    border: 1px solid #dfdfdf;
    margin: 0 auto;
}
.detail .row{
    display: flex;
    padding: 10px;
}
.detail .row img{
    width: 300px;
    height: 300px;
}
.detail .gd{
    width: 880px;
}
.detail .gd .tit{
    color: #444;
    font-size: 20px;
    margin: 10px 0;
    font-weight: bold;
}
.detail .gd p{
    font-size: 14px;
    color: gray;
}
.detail .price-box{
    height: 50px;
    background: #e0450010;
    display: flex;
    align-items: baseline;
}
.detail .price-box span:nth-child(1){
    color: #ff4500;
    margin: 0 100px;
}
.detail .price-box span:nth-child(2){
    color: gray;
    font-size: 12px;
}
.asn{
    display: flex;
    height: 100px;
    margin: 10px 0;
    align-items: center;
    font-size: 12px;
    color: gray;
}

.asn label{
    margin-right: 20px;
}
.asn .in{
    display: flex;
}
.asn .in input{
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 100px;
    border-radius: 0;
    outline: none;
    border: 1px solid #efefef;
}
.asn .as{
    width: 21px;
}
.asn .in .as span{
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 1px solid #efefef;
    text-align: center;
    line-height: 20px;
}
.total{
    font-size: 14px;
}
.total span{
    color: red;
    font-size: 16px;
}
button.default{
    padding: 4px 15px;
    font-size: 16px;
    font-weight: bold;
    color: red;
    background: #e0450010;
    border: 1px solid #e04500;
    border-radius: 4px;
}
button.delete{
    padding: 4px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: #e04500;
    border: 1px solid #e04500;
    border-radius: 4px;
}
.row .left{
    width: 200px;
}
.row .left .tit{
    border-top: 2px solid #5f8b2f;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    border-bottom: 1px solid #efefef;

}
.gad>img{
    width: 180px !important;
    height: 180px !important;
    margin: 10px;
}
.gad .gad-tit{
    font-size: 14px;
    color: #444;
    margin: 4px 10px;
}
.gad .des{
    color: red;
    font-size: 12px;
    margin: 4px 10px;
}
.right{
    width: 100%;
    margin-left: 10px;
}
.right .tits{
    display: flex;
    font-size: 14px;
    counter-reset: #444;
    height: 40px;
    border-bottom: 2px solid #5f8b2f;
}
.right .tits .title{
    padding:0 10px;
    height: 38px;
    line-height: 38px;
    border: 1px solid #efefef;
}
.right .tits .active{
    border: 2px solid #5f8b2f;
    border-top: 3px solid #5f8b2f;
    border-bottom: 0;
    height: 40px;
    background: #fff;
}

.right .cons .con{
    display: none;
    width: 100%;
    min-height: 300px;
    font-size: 14px;
    color: gray;
}
.right .cons .con:nth-child(1){
    display: block;
     /*
      block 块级元素
     inline 内联元素
     inline-block 行内块级元素
      */
}